package com.example.controller;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Test {
	public static void main(String[] args) {
		Date date = new Date();
		SimpleDateFormat year = new SimpleDateFormat("yyyyMMddHHmmss");
		SimpleDateFormat month = new SimpleDateFormat("yyyy");
		SimpleDateFormat day = new SimpleDateFormat("yyyy");
		SimpleDateFormat time = new SimpleDateFormat("yyyy");
		date.getTime();
		
		System.out.println(year.format(date));
	}
}
